﻿using System.ComponentModel.DataAnnotations;

namespace Md.Api.Model.Manage.SysUser.Request;
/// <summary>
/// 修改系统用户密码请求实体
/// </summary>
public class RequestForgetSysUserPwdModel : RequestBaseModel
{
    /// <summary>
    /// 用户旧密码
    /// </summary>
    [Required(ErrorMessage = "用户旧密码不能为空")]
    public string OldPassword { get; set; } = string.Empty;
    /// <summary>
    /// 用户新密码
    /// </summary>
    [Required(ErrorMessage = "用户新密码不能为空")]
    public string NewPassword { get; set; } = string.Empty;
}
